<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org"
       xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="layout :: htmlhead" th:with="title='管理'"></head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <!--头-->
    <div th:replace="fragments/head :: header">    </div>

        <div class="layui-body" style="margin: 1%">
            <table id="tempList" lay-filter="tempTable"></table>

            <button class="layui-btn layui-btn-normal" onclick="add()">新增</button>

            <script type="text/html" id="optBar">
                <a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="view" >预览</a>
                <a class="layui-btn layui-btn-xs" lay-event="edit" >编辑</a>
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
            </script>

         </div>

    <!--底部-->
    <div th:replace="fragments/footer :: footer"></div>
    <script src="/js/temp/temp.js"></script>


</div>
</body>
</html>